package me.spring.cloud.components.starter.oss;

import me.spring.cloud.components.starter.oss.configuration.CloudStorageConfiguration;
import me.spring.cloud.components.starter.oss.properties.OssProperties;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Import;

/**
 * 启用oss存储服务
 *
 * @author luffy
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@EnableConfigurationProperties(OssProperties.class)
@Import(CloudStorageConfiguration.class)
public @interface EnableOss {
}